home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / anacron.postinst < prev    next >
Text File  |  2008-09-02  |  561b  |  29 lines

  1. #!/bin/sh
  2.  
  3. case "$1" in
  4.     configure)
  5.         # continue below
  6.     ;;
  7.  
  8.     abort-upgrade|abort-remove|abort-deconfigure)
  9.         exit 0
  10.     ;;
  11.  
  12.     *)
  13.         echo "postinst called with unknown argument \`$1'" >&2
  14.         exit 0
  15.     ;;
  16. esac
  17.  
  18. # Automatically added by dh_installinit
  19. if [ -x "/etc/init.d/anacron" ]; then
  20.     update-rc.d anacron start 89 2 3 4 5 . stop 11 1 . >/dev/null
  21.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  22.         invoke-rc.d anacron start || exit $?
  23.     else
  24.         /etc/init.d/anacron start || exit $?
  25.     fi
  26. fi
  27. # End automatically added section
  28.  
  29.